import Vue from 'vue'
import Router from 'vue-router'

import complaintProposal from './personalCenter/complaintProposal'
import paymentRecord from './personalCenter/paymentRecord'
import reservationRecord from './personalCenter/reservationRecord'
import supplementList from './personalCenter/supplementList'
import VehicleManagement from './personalCenter/VehicleManagement'
import unlawfulReporting from './personalCenter/unlawfulReporting'
import boundVehicle from './personalCenter/boundVehicle'
import searchVehliceList from './personalCenter/searchVehliceList'



Vue.use(Router)
export default new Router({
 routes: [{
     path: '/complaintProposal',
     component: complaintProposal
 },
 {
     path: '/paymentRecord',
     component: paymentRecord
 },
 {
     path: '/reservationRecord',
     component: reservationRecord
 },
 {
     path: '/supplementList',
     component: supplementList
 },
 {
     path: '/VehicleManagement',
     component: VehicleManagement
 },
 {
     path: '/unlawfulReporting',
     component: unlawfulReporting
 },
 {
     path: '/boundVehicle',
     component: boundVehicle
 },
  {
     path: '/searchVehliceList',
     component: searchVehliceList
 },





 // , {
 //     // /user/:username/post/:post_id
 //     path: '/demo/:id',
 //     component: demo,
 //     children: [{
 //         path: '/:name',
 //         components: {
 //             pathDemo: demo2,
 //             default: demo
 //         }
 //     }]
 // }



 ]
})